package cn.digitalize.system.modular.auth.service;

import cn.digitalize.system.modular.auth.param.AuthLoginParam;
import cn.digitalize.system.modular.auth.result.BaseLoginUser;

/**
 * @author Created by ZhangCheng on 2023/06/05 (登录授权)
 */
public interface AuthService {

    /**
     * 用户登录校验
     *
     * @param authLoginParam
     * @return
     */
    String doLogin(AuthLoginParam authLoginParam);

    /**
     * 获取登录用户信息
     *
     * @return
     */
    BaseLoginUser getLoginUser();
}
